package com.wootion.cims.module.systemsetting.role.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * (Community)实体类
 *
 * @author makejava
 * @since 2022-09-19 17:32:28
 */
@Data
@TableName(value = "sys_menu")
@ApiModel(value = "菜单")
@Accessors(chain = true)
public class SysMenu implements Serializable {

    private static final long serialVersionUID = 821941936512283734L;
    
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单值")
    private String value;

    @ApiModelProperty(value = "是否可用")
    private Boolean enabled;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "父级菜单id")
    private String pid;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建人id")
    private String createUserid;

    @ApiModelProperty(value = "跟新人id")
    private String updateUserid;
}

